pub mod login_log;
pub mod work;

#[derive(Debug)]
pub struct model {
    name: String,
    age: i32,
    status: status,
}

#[derive(Debug)]
pub enum status {
    online,
    offline,
}

impl model {
    pub fn get_name(self) -> String {
        self.name
    }
    pub fn new(name: String) -> Self {
        // panic!("hello world");
        Self {
            name,
            age: 35,
            status: status::online,
        }
    }
}

pub struct User {
    pub name: String,
}
